const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  updateURL: state => state.user.updateURL, // 文件上传
  imgURL: state => state.sidebar.imgURL, // 图片上传
  routemenu: state => state.permission.routemenu, // 后台传的菜单
  leftmenu: state => state.permission.leftmenu, // 后台传的菜单
  cachedViews: state => state.tagsView.cachedViews,
  visitedViews: state => state.tagsView.visitedViews,
  siteId: state => state.tagsView.siteId,
  webList: state => state.tagsView.webList
}
export default getters
